<template>
  <div class="attendance">
    <el-upload
      drag
      multiple
      :headers="headers"
      :action="ATTENDANCE_IMPORT"
      :before-upload="beforeUpload"
    >
      <i class="el-icon-upload"></i>
      <div class="el-upload__text">将文件拖到此处，或<em>点击上传</em></div>
      <div class="el-upload__tip" slot="tip">
        {{ FILE_UPLOAD_RULE_MSG }}
      </div>
    </el-upload>
  </div>
</template>

<script src="./main.js"></script>
